package com.dataaccess.dataaccess.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dataaccess.dataaccess.common.base.BasisEntity;

/**
 * @Author: YangYu
 * @ClassName: DeviceSwitch
 * @Date: Created in 9:04 2023/2/20
 * @Description: 开关
 */
@TableName("firelink_device.device_switch")
public class DeviceSwitch extends BasisEntity {

    /**
     * 主键
     */
    public String id;
    /**
     * 设备名称
     */
    public String name;
    /**
     * 设备号
     */
    public String number;
    /**
     * 传输装置编码
     */
    public String transDeviceCode;
    /**
     * 安装时间
     */
    public String installtime;
    /**
     * 位置
     */
    public String position;
    /**
     * 设备当前状态：1 开 2 关
     */
    public String currentstate;

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getName() {
        return this.getString("name");
    }

    public void setName(String name) {
        this.put("name",name);
    }

    public String getNumber() {
        return this.getString("number");
    }

    public void setNumber(String number) {
        this.put("number",number);
    }

    public String getTransDeviceCode() {
        return this.getString("transDeviceCode");
    }

    public void setTransDeviceCode(String transDeviceCode) {
        this.put("transDeviceCode",transDeviceCode);
    }

    public String getInstalltime() {
        return this.getString("installtime");
    }

    public void setInstalltime(String installtime) {
        this.put("installtime",installtime);
    }

    public String getPosition() {
        return this.getString("position");
    }

    public void setPosition(String position) {
        this.put("position",position);
    }

    public String getCurrentstate() {
        return this.getString("currentstate");
    }

    public void setCurrentstate(String currentstate) {
        this.put("currentstate",currentstate);
    }
}
